package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaProjectInitiation;
import com.ruoyi.system.domain.vo.OaProjectInitiationVoA;

/**
 * 记录项目立项的相关信息Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-10
 */
public interface OaProjectInitiationMapper
{
    /**
     * 查询记录项目立项的相关信息
     *
     * @param id 记录项目立项的相关信息主键
     * @return 记录项目立项的相关信息
     */
    OaProjectInitiation selectOaProjectInitiationById(Integer id);

    /**
     * 查询记录项目立项的相关信息列表
     *
     * @param oaProjectInitiation 记录项目立项的相关信息
     * @return 记录项目立项的相关信息集合
     */
    List<OaProjectInitiation> selectOaProjectInitiationList(OaProjectInitiation oaProjectInitiation);
    List<OaProjectInitiation> selectOaProjectInitiationList1(OaProjectInitiation oaProjectInitiation);
    /**
     * 新增记录项目立项的相关信息
     *
     * @param oaProjectInitiation 记录项目立项的相关信息
     * @return 结果
     */
    int insertOaProjectInitiation(OaProjectInitiation oaProjectInitiation);

    /**
     * 修改记录项目立项的相关信息
     *
     * @param oaProjectInitiation 记录项目立项的相关信息
     * @return 结果
     */
    int updateOaProjectInitiation(OaProjectInitiation oaProjectInitiation);

    /**
     * 删除记录项目立项的相关信息
     *
     * @param id 记录项目立项的相关信息主键
     * @return 结果
     */
    int deleteOaProjectInitiationById(Integer id);

    /**
     * 批量删除记录项目立项的相关信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteOaProjectInitiationByIds(Integer[] ids);

    List<OaProjectInitiation> selectOaProjectInitiationList2(OaProjectInitiationVoA oaProjectInitiation);

    List<OaProjectInitiation> selectOaProjectInitiationList3(OaProjectInitiation oaProjectInitiation1);

    List<OaProjectInitiation> selectOaProjectInitiationList4(OaProjectInitiation oaProjectInitiation1);

    OaProjectInitiation  selectOaProjectInitiationByProjectNumber(String initiationId);
}
